<template>
    <div class="box3">
        <h1>我的值是{{count}}</h1>
        <p>{{name}},{{age}},{{sex}}</p>
    </div>
</template>

<script>
    export default {
        name : 'Update',
        props:['name','age','sex','count']
    }
</script>

<style lang="css" scoped>
    .box3{
        height: 200px;
        background: rebeccapurple;
    }
</style>